html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: url(../images/login_bg.jpg) no-repeat center;
  background-size: cover;
}
.loginAndRegBox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 310px;
  background-color: #fff;
  text-align: center;
  box-sizing: border-box;
  padding: 0 30px;
}
.layui-main {
  padding-top: 20px;
}
#title-img {
  margin: 20px 0;
}
#login-btn {
  margin-bottom: 10px;
  background-color: #33a8ff;
}
#go-register,
#go-login {
  float: right;
}
.reg-box {
  display: none;
}
.layui-form-item {
  position: relative;
}
.layui-icon {
  position: absolute;
  left: 10px;
  top: 11px;
}
.layui-input {
  padding-left: 32px;
}
